SlideShare a Scribd company logo
Testing with Visual Studio 2010Breaking the walls between developers and testersSteve LangeDeveloper Technology SpecialistMicrosoft | Denver, COstevenl@microsoft.com | blogs.msdn.com/slange
AgendaIntroductionsMicrosoft’s Approach to TestingTest Capabilities in Visual Studio 2010Test Case ManagementTest Plans, Test Suites, & Test CasesLab ManagementRich & Actionable BugsPerform Exploratory testingCoded UI Test 2
The State Of  SW DevelopmentAn Acceptable Rate of Failure?Based on time, budget, and delivering specified functionality 68% of projects never made it into production or were cancelled 1Can we continue to support this level of Success?2Extreme Chaos, The Standish Group International, Inc. – 2009Average Costoverrun: 45%Average Timeoverrun: 63%Functionalitydelivered on average: 67%2. Extreme Chaos, The Standish Group International, Inc - 2009Source: 1. Dave West, Forrester Research
Frustrations in development teams4“my testers are spending too long testing the same thing”“tooling is expensive (time, licenses, people)”“the developers say the defects are useless”“when is my software ready to ship?”“we have a changed requirement, what do I need to test?”“developers and testers work in silos and don’t communicate/speak the same language”
Challenges QA is not aligned with lifecycleDevelopers and testers work in silosQA is not leveraged
Microsoft Approach
Tester Segmentation70% of testing happens heremajority of test tools target hereblack box testingwhite box testingapi testing
Visual Studio 2010 Testing Overview
Visual Studio 2010 Testing Overview
Visual Studio 2010 Testing Overview
Visual Studio 2010 Testing Overview
Goals for 2010 Release - TestingAlign QA with the LifecycleCreate tighter Dev/Test interactionEnable highly leveraged  QA teams
VS 2010 Test Capabilitiesgeneralistspecialistcoded UI testunit testingweb performance testtest runnerload testtest case managementvirtual lab managementdata diagnostic adapters (video, action log, event log etc)team foundation server with reporting(bugs, requirements, user stories, source control, build)
Visual Studio 2010 Test ComponentsServer ComponentsClient ComponentsLab ManagementSCVMMVM HostLibrary SharesAgentTeam Foundation Server (TFS)Visual Studio 2010 Load AgentLab ManagementMicrosoft Test & Lab Manager (MTLM)Visual Studio ProTFS Web AccessTest Case ManagementControllerBuild ManagementLoad AgentAgentWork Item TrackingSource ControlAgentCollector AgentTarget ServerBuild ServerBuild ServerUpdatedNew
Visual Studio 2010
Key Test Capabilities in VS 201016
Key Test Capabilities in VS2010
Test Case Management18
Test Case ManagementCreate, organize, and run test casesManage a suite hierarchyIncludes “Dynamic” suitesConfigure active iterationsFirst-class Work Items in TFSCan be data-driven19
Microsoft Confidential20Test Case is first class work item in TFSDetailed steps along with expected results
Microsoft Confidential21Data drive a test caseSpecify data in parameter table
Microsoft Confidential22Select common steps and convert to Shared Steps
Microsoft Confidential23Shared Steps allows for common steps to be reused across test cases
WalkthroughTest Case Management
Microsoft Confidential25
A tester working in Test and Lab manager can see requirements and tests side-by-sideMicrosoft Confidential26
He can add existing tests cases to a requirement… Microsoft Confidential27
…and create new ones with test steps!Microsoft Confidential28
He runs the test..Microsoft Confidential29
Which starts up the Test Runner…Microsoft Confidential30
He can go through the test case step-by-stepMicrosoft Confidential31
..and create rich, actionable bugs can be created right from the test…Microsoft Confidential32
…automatically capturing all the system information…Microsoft Confidential33
…and the exact steps performed!Microsoft Confidential34
Back, in Visual Studio, the development team can see the rich bug…Microsoft Confidential35
…the linked test case...Microsoft Confidential36
…and the requirement for full traceability!Microsoft Confidential37
All the while, the team can see progress on requirements as well as the quality of the requirements!
Lab Management39
Lab ManagementSimplifies environment setupImproving deployment qualitySimplifies testing multiple configurationsEnables reverting to baseline configurationImproves test hardware utilization
Lab Management ArchitectureSystem Center Virtual Machine ManagerTeam Foundation Server (TFS)Lab ManagementTest Case ManagementMicrosoft Test & Lab Manager (MTLM)Build ManagementHyper-VHostsVM LibrarySharesWork Item TrackingVM 1Share 1Source ControlVM 2Share 2VM 3Share 3UpdatedNewVM 4Share 441
Microsoft Confidential42Create Virtual Environment from Lab Center
Microsoft Confidential43Specify name and location for environment
Microsoft Confidential44Pick role for VMSelect VM from template library
Microsoft Confidential45Specify capabilities – “Run Tests” ; “Run Workflows” ; “Network Isolation”
Microsoft Confidential46Environment (collection of VMs) created
Microsoft Confidential47Manage snapshots for environmentAccess environment using Lab Environment Viewer
Lab Management for Distributed TeamLower cost of ownership Now have a visual face to the lab! No waiting - Create machines on a remote site without assistanceGet traction of idle machines using “last accessed time”Friction free – Mark and reserve      your machines
View your lab
View your lab – Who owns what?
View your lab – Where are the machines?
View your lab – who has idle machines?
Rich & Actionable Bugs53
Rich & Actionable Bugs54
WalkthroughFiling Rich & Actionable Bugs
Microsoft Confidential56Dev clicks on lvr link & selects connect to snapshot of the environment
Microsoft Confidential57Dev is able to access the snapshot’ed environment via LE viewer
Exploratory Testing58
Exploratory Testing“Wander” application looking for issuesErrors, UX, etc.Turn problems into bugs, then test casesSimple, 1-step test case59
WalkthroughExploratory Testing
Coded UI TestMicrosoft Confidential61
Coded UI TestPuts recorded actions into codeDissects action against executing codeCan be associated against test caseMicrosoft Confidential62
Microsoft Confidential63From Test->new test, click Coded UI test, specify test name and project name
Microsoft Confidential64Use existing action recording to generate code
Microsoft Confidential65Specify test case which has action recording and click OK
Microsoft Confidential66Code generated from action recording – datasource as TestCase
Microsoft Confidential67Code generated handles data parameterization
Microsoft Confidential68Invoke Coded UI Test Builder for adding assertions
Microsoft Confidential69Drag cross-hair onto the control you want to add assertions on
Microsoft Confidential70Properties of selected control and its UIMap is shown
Microsoft Confidential71Select property to assert on and right click to add assertion
Microsoft Confidential72Add the assert
Microsoft Confidential73Specify Assert method name and generate code
Microsoft Confidential74Code generated for assert method
Microsoft Confidential75Add solution to source control
Microsoft Confidential76Check-in pending changes
Microsoft Confidential77Go to test case that you want to associate the newly created automation
Microsoft Confidential78Specify test method and click OK; save test case
ReportingMicrosoft Confidential79
Reporting binds the teamQuery Work ItemsExcel reportsDashboards
Create reports in one click
One Click reports – Team Test
Show me the test cases that found “good” bugs
QA Dashboard
Rich Bugs
Summary86
Summary87
Thank You88
Contact Information89

More Related Content

PPTX
Lab Management with TFS 2010
DOCX
Testing in TFS
PPTX
Full Testing Experience - Visual Studio and TFS 2010
PPT
MTM Test Management System
PPSX
QA with Microsoft Test Manager and Lab Management
PDF
Hrishikesh_iitg_internship_report
PDF
Technical meeting automated testing with vs2010
PPTX
Coldbox developer training – session 4
Lab Management with TFS 2010
Testing in TFS
Full Testing Experience - Visual Studio and TFS 2010
MTM Test Management System
QA with Microsoft Test Manager and Lab Management
Hrishikesh_iitg_internship_report
Technical meeting automated testing with vs2010
Coldbox developer training – session 4

What's hot (20)

PDF
Alm 4 Azure
PPTX
Test Driven Development:Unit Testing, Dependency Injection, Mocking
PPT
Testing and Mocking Object - The Art of Mocking.
PPTX
Visual Studio 2010 Testing & Lab Management Tools
PPTX
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
PPTX
Intro to Microsoft Test Manager
PDF
An introduction to unit testing
PPTX
Automation Testing with TestComplete
ODP
Android Test Driven Development
PDF
TDD and BDD and ATDD
PDF
Test driven development
PPTX
TDD with Visual Studio 2010
PDF
Efficient JavaScript Unit Testing, March 2013
PDF
Turbocharge Your Automation Framework to Shorten Regression Execution Time
PDF
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
PPTX
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...
PPTX
Unit tests and TDD
PPTX
Unit Testing
ODP
AD208 - End to End Quality Processes for Top Notch XPages Apps
Alm 4 Azure
Test Driven Development:Unit Testing, Dependency Injection, Mocking
Testing and Mocking Object - The Art of Mocking.
Visual Studio 2010 Testing & Lab Management Tools
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
Intro to Microsoft Test Manager
An introduction to unit testing
Automation Testing with TestComplete
Android Test Driven Development
TDD and BDD and ATDD
Test driven development
TDD with Visual Studio 2010
Efficient JavaScript Unit Testing, March 2013
Turbocharge Your Automation Framework to Shorten Regression Execution Time
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...
Unit tests and TDD
Unit Testing
AD208 - End to End Quality Processes for Top Notch XPages Apps
Ad

Viewers also liked (20)

PPTX
PHX - Session #4 Treating Databases as First-Class Citizens in Development
PPTX
Upgrading to TFS 2010
PPTX
Visual Studio 2010 Testing for Developers
PPTX
Visual Studio LightSwitch (Beta 1) Overview
PPTX
Project management with team foundation server 11
PPTX
TFS 2010: Team Development on Crack
PPTX
Whats New In 2010 (Msdn & Visual Studio)
PPTX
A Deeper Look at Team Foundation Server 2012 Version Control
PPTX
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...
PPTX
PHX Session #1: Development Best Practices And How Microsoft Helps
PPTX
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
PPTX
Big Event Looping Deck
PPTX
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...
PPT
Team Foundation Server 2008 Overview
PPTX
Team Foundation Server 2012 Reporting
PPTX
Visual Studio ALM 2013 - Edition Comparison
PPTX
Team Foundation Server 2010 - Version Control
PPTX
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
PPTX
Microsoft EPM and Team Foundation Server [TFS]
PPTX
Team Foundation Server 2010 - Overview
PHX - Session #4 Treating Databases as First-Class Citizens in Development
Upgrading to TFS 2010
Visual Studio 2010 Testing for Developers
Visual Studio LightSwitch (Beta 1) Overview
Project management with team foundation server 11
TFS 2010: Team Development on Crack
Whats New In 2010 (Msdn & Visual Studio)
A Deeper Look at Team Foundation Server 2012 Version Control
PHX Session #3 - "It Works on My Machine!" Closing the Loop Between Developme...
PHX Session #1: Development Best Practices And How Microsoft Helps
PHX Session #5 : Architecture Without Big Design Up Front (Garibay)
Big Event Looping Deck
PHX Session #6: More Bang for Your Buck: Getting the Most out of Team Foundat...
Team Foundation Server 2008 Overview
Team Foundation Server 2012 Reporting
Visual Studio ALM 2013 - Edition Comparison
Team Foundation Server 2010 - Version Control
PHX - Session #2 Test Driven Development: Improving .NET Application Performa...
Microsoft EPM and Team Foundation Server [TFS]
Team Foundation Server 2010 - Overview
Ad

Similar to Visual Studio 2010 Testing Overview (20)

PPTX
No More No Repro
PDF
Testingfor continuousdeliverywithvisualstudio2012
PPT
Alm Specialist Toolkit Team System 2008 Deep Dive
PDF
05 test infrastructure
PPTX
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
PPTX
Testing SharePoint solutions overview
PPTX
Coding Naked
PPT
Vsts 2
PPTX
Microsoft DevOps Solution - DevOps
PPTX
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
PPTX
Improving Software Quality- 2-day Tester Training
PPTX
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
PPT
1.microsoft visual studio 2010 test manager
PPT
UX in ALM Series - UX Project Worflow using TFS 2008
PDF
Alm 4 Azure with screenshots
PPTX
Testing with Microsoft Technologies - Kick Off Session
PPTX
SPCA2013 - Taking advantage of Visual Studio to develop Apps for SharePoint
PPSX
qawithmicrosofttestmanagerandlabmanagement
DOCX
Ahesanali Vijapura - QA Manager
PPTX
Unit Tests with Microsoft Fakes
No More No Repro
Testingfor continuousdeliverywithvisualstudio2012
Alm Specialist Toolkit Team System 2008 Deep Dive
05 test infrastructure
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Testing SharePoint solutions overview
Coding Naked
Vsts 2
Microsoft DevOps Solution - DevOps
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Improving Software Quality- 2-day Tester Training
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
1.microsoft visual studio 2010 test manager
UX in ALM Series - UX Project Worflow using TFS 2008
Alm 4 Azure with screenshots
Testing with Microsoft Technologies - Kick Off Session
SPCA2013 - Taking advantage of Visual Studio to develop Apps for SharePoint
qawithmicrosofttestmanagerandlabmanagement
Ahesanali Vijapura - QA Manager
Unit Tests with Microsoft Fakes

More from Steve Lange (12)

PPTX
Microsoft ALM Platform Overview
PPTX
Team Foundation Server - Tracking & Reporting
PPTX
Session #6: Get More Bang For Your Buck
PPTX
Session #1: Development Practices And The Microsoft Approach
PPTX
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...
PPTX
Session #4: Treating Databases as First-Class Citizens in Development
PPTX
Session #2: Test Driven Development
PPTX
Session #5: Architecture Without Big Design Up Front
PPT
TFS Administration Overview
PPT
ALM Assessment Program
PPT
Team Foundation Server Version Control
PPT
Requirements and Team Foundation Server
Microsoft ALM Platform Overview
Team Foundation Server - Tracking & Reporting
Session #6: Get More Bang For Your Buck
Session #1: Development Practices And The Microsoft Approach
Session #3: "It Works on My Machine!" Closing the Loop Between Development & ...
Session #4: Treating Databases as First-Class Citizens in Development
Session #2: Test Driven Development
Session #5: Architecture Without Big Design Up Front
TFS Administration Overview
ALM Assessment Program
Team Foundation Server Version Control
Requirements and Team Foundation Server

Recently uploaded (20)

PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
August Patch Tuesday
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Architecture types and enterprise applications.pdf
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Modernising the Digital Integration Hub
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
Assigned Numbers - 2025 - Bluetooth® Document
1 - Historical Antecedents, Social Consideration.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
August Patch Tuesday
Module 1.ppt Iot fundamentals and Architecture
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A novel scalable deep ensemble learning framework for big data classification...
Architecture types and enterprise applications.pdf
Getting Started with Data Integration: FME Form 101
Modernising the Digital Integration Hub
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Hindi spoken digit analysis for native and non-native speakers
WOOl fibre morphology and structure.pdf for textiles
gpt5_lecture_notes_comprehensive_20250812015547.pdf
cloud_computing_Infrastucture_as_cloud_p
Enhancing emotion recognition model for a student engagement use case through...
observCloud-Native Containerability and monitoring.pptx
OMC Textile Division Presentation 2021.pptx
Chapter 5: Probability Theory and Statistics
NewMind AI Weekly Chronicles – August ’25 Week III

Visual Studio 2010 Testing Overview